mtd:mxs:nand calculate ecc strength dynamically
authorPeng Fan <[email protected]>
Wed, 15 Apr 2015 07:27:21 +0000 (09:27 +0200)
committerScott Wood <[email protected]>
Sun, 24 May 2015 19:26:54 +0000 (14:26 -0500)
commitbd38da1a558ea31f2dee4a14a972333b68bfa0ee
tree9624c1ac8ea61f77277bd2e31fbe7ebb9fb48204
parent6b8583b0adac6c8119d2fc6fd4f03ed8373b5d42
mtd:mxs:nand calculate ecc strength dynamically

Calculate ecc strength according oobsize, but not hardcoded
which is not aligned with kernel driver

Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Ye.Li <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Jörg Krause <[email protected]>
drivers/mtd/nand/mxs_nand.c